home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
image
/
aligner2.zip
/
ALIGNERX.INF
< prev
next >
Wrap
INI File
|
1997-01-05
|
6KB
|
161 lines
;----------------------------------------------------------------------------
; Documented on MSDN CD in "INF Files" book in Win32 SDK: Setup API.
;----------------------------------------------------------------------------
[Version]
;Signature="$Windows 95$"
;----------------------------------------------------------------------------
; Of course, the Win95 signature doesn't work, so we have to use Chicago.
; Thanks, Microsoft!!
;----------------------------------------------------------------------------
Signature="$Chicago$"
Provider=Perpetual Motion Software
;----------------------------------------------------------------------------
; Sections used by setupx.dll (See 'Install' action for .inf files.)
;
[DefaultInstall]
CopyFiles = Files-Main, Files-Inf
AddReg = AddRegistry
[DefaultUninstall]
DelFiles = Files-Main, Files-Inf
DelReg = DeleteRegistry
;
;----------------------------------------------------------------------------
[Install]
CopyFiles = Files-Main, Files-Inf
AddReg = AddRegistry
;UpdateINIs =
[Uninstall]
DelFiles = Files-Main, Files-Inf
DelReg = DeleteRegistry
;----------------------------------------------------------------------------
; Files to be (un)installed
;----------------------------------------------------------------------------
; COPYFLG_WARN_IF_SKIP 0x00001
; COPYFLG_NOSKIP 0x00002
; COPYFLG_NOVERSIONCHECK 0x00004
; COPYFLG_FORCE_FILE_IN_USE 0x00008
; COPYFLG_NO_OVERWRITE 0x00010
; COPYFLG_NO_VERSION_DIALOG 0x00020
; COPYFLG_REPLACEONLY 0x00040
; DELFLG_IN_USE 0x00001 (conflicts with warn-if-skip)
; DELFLG_IN_USE1 0x10000 (no conflict)
; Cannot use a string for the filenames.
;
[Files-Main]
alignerx.dll,,,0x10023 ; del-in-use | warn-if-skip | no-skip | no-version-dlg
[Files-Inf]
alignerx.inf,,,0x10023 ; del-in-use | warn-if-skip | no-skip | no-version-dlg
;
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; Where the files in the various file sections are located
;----------------------------------------------------------------------------
; -1 dir from which the INF was installed
; 0xffff dir from which the INF was installed
; 01 SourceDrive:\path
; 10 windows dir
; 11 system dir (95: %10%\system, NT: %10%\system32)
; 12 drivers dir (NT: %10%\system32\drivers)
; 17 INF dir
; 18 help dir
; 20 fonts dir
; 21 viewers dir
; 24 applications dir (seems to be "c:\")
; 25 shared dir
; 30 root dir of boot drive
; 50 %10%\system
; 51 spool dir
; 52 spool drivers dir
; 53 user profile dir
; 54 path to ntldr or OSLOADER.EXE
;
[DestinationDirs]
DefaultDestDir = 11, %PATH_APP%
Files-Main = 11, %PATH_APP%
Files-Inf = 17
[SourceDisksFiles]
; Can use a string for the filenames.
%THISAPP% = 1
%THISINF% = 1
[SourceDisksNames]
1 = "AlignerX", "", 0
[AddRegistry]
;----------------------------------------------------------------------------
; Register as OLE object
;----------------------------------------------------------------------------
; HKCR\%DESCR%\
; (Default) = %DESCR%
; \CLSID\
; (Default) = %CLSID%
HKCR,%DESCR%,,,"%DESCR%"
HKCR,%DESCR%\CLSID,,,"%CLSID%"
;
; HKCR\CLSID\%CLSID%\
; (Default) = %DESCR%
; \InProcServer32\
; (Default) = "path-to-DLL"
; ThreadingModel = "Apartment"
; \ProgID\
; (Default) = %DESCR%
HKCR,CLSID\%CLSID%,,,"%DESCR%"
HKCR,CLSID\%CLSID%\InProcServer32,,,"%11%\%PATH_APP%\%THISAPP%"
HKCR,CLSID\%CLSID%\InProcServer32,ThreadingModel,,"Apartment"
HKCR,CLSID\%CLSID%\ProgID,,,"%DESCR%"
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; Register as shell extension to Display Properties
;----------------------------------------------------------------------------
; HKLM\%CONTROLSFOLDER%\%PROPSHEETHANDLERS%\%PROPSHEETKEY%\
; (Default) = %CLSID%
HKLM,%CONTROLSFOLDER% %PROPSHEETHANDLERS% %PROPSHEETKEY%,,,%CLSID%
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; Register Uninstall procedure
;----------------------------------------------------------------------------
; HKLM\%UNINSTALL%\%UNINSTALL_KEY%\
; DisplayName = %UNINSTALL_DESCR%
; UninstallString = "..."
HKLM,%UNINSTALL% %UNINSTALL_KEY%,DisplayName,,%UNINSTALL_DESCR%
HKLM,%UNINSTALL% %UNINSTALL_KEY%,UninstallString,,"rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\%THISINF%"
;----------------------------------------------------------------------------
[DeleteRegistry]
HKCR,%DESCR%
HKCR,CLSID\%CLSID%
HKLM,%CONTROLSFOLDER% %PROPSHEETHANDLERS% %PROPSHEETKEY%
HKLM,%UNINSTALL% %UNINSTALL_KEY%
;----------------------------------------------------------------------------
[Strings]
THISAPP = "alignerx.dll" ; dll being installed
THISINF = "alignerx.inf" ; inf being installed
PATH_APP = "ShellExt" ; dir PowerToys uses
CLSID = "{DF98DE83-3ADF-11D0-8955-444553540000}" ; GUID
DESCR = "Aligner Display Property Sheet" ; extension description
UNINSTALL_KEY = "AlignerX"
UNINSTALL_DESCR = "Aligner Display Extension (Remove Only)"
; regstr.h: REGSTR_PATH_CONTROLSFOLDER
CONTROLSFOLDER = "Software\Microsoft\Windows\CurrentVersion\Controls Folder\"
PROPSHEETHANDLERS = "Display\shellex\PropertySheetHandlers\"
PROPSHEETKEY = "PMS Aligner Page"
; regstr.h: REGSTR_PATH_UNINSTALL
UNINSTALL = "Software\Microsoft\Windows\CurrentVersion\Uninstall\"